from django.urls import path
from . import views

app_name = 'film'

urlpatterns = [
    # 影票列表 - 支持分页和筛选
    path('film/index/', views.film_list, name='film_list'),
    path('film/recommend/', views.swiper_list, name='swiper_list'),
    # 影票详情
    path('film/detail/<int:film_id>/', views.film_detail, name='film_detail'),
    # 根据影院获取影票
    # path('film/cinema/<int:cinema_id>/', views.film_by_cinema, name='film_by_cinema'),

    path('film/search/', views.film_search, name='film_search'),
]
